package com.millstein.mapper;

import com.millstein.model.ProductTaskDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author millstein
 * @since 2021-09-19
 */
public interface ProductTaskMapper extends BaseMapper<ProductTaskDO> {

    /**
     * 批量新增库存锁定记录
     * @param list 库存锁定记录
     * @return
     */
    int saveBatchTask(@Param("list") List<ProductTaskDO> list);
}
